class Resize {
    /**
     * 自动调节容器高度
     */
    static resize(): void {
        let headerHeight: number = $("header").height() as number;
        let windowHeight: number = $(window).height() as number;
        let viewHeight: number = windowHeight - headerHeight;
        $(".viewContainer").height(viewHeight);
    }
}

export default Resize;